<script setup lang="ts">
import { Button as VanButton } from 'vant'
// import { useUserStore } from '@/stores/modules/user'
import { useUserStore } from '@/stores'
const userStore = useUserStore()
</script>

<template>
  <div class="playground-page">
    <h1>playground</h1>
    <h2>user {{ userStore.user }}</h2>
    <van-button @click="userStore.setUser({ refreshToken: '1', token: '2' })"
      >login</van-button
    >
    <van-button type="primary" @click="userStore.delUser()"
      >del user</van-button
    >
  </div>
</template>

<style scoped lang="scss"></style>
